﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="HighSchoolList.aspx.cs" Inherits="Sagacity.NC.Web.BaokaoManager.HighSchoolList" %>
<%@ Register Src="~/Form/TabFormCommon.ascx" TagName="TabFormCommon" TagPrefix="uc1" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>学校信息列表</title>
    <link href="../../resources/css/examples.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript">
        /*-----显示方法名称，设置时在TabFormCommon1中调用，指定GridPanel行单击详细信息列和双击时应该调用的方法-----*/
        var showFunctionName = 'showSchoolDetailInfo()';

        /*-----TabFormCommon1中调用的方法-----*/
        function showSchoolDetailInfo() {
            var xmlTabInfo = "<root><tab id='orderTab32' name='普通高中信息' url='HighSchoolDetailInfo.aspx'></tab></root>";
            self.parent.addTabs1(self.parent.tabSchoolInfoTabs, xmlTabInfo, '', "ResourceId=" + document.getElementById("hidResourceId").value + "&HighSchoolId=" + Form$getKeyValue());
        }
        
        function refreshHighSchoolInfo(batchId){
            if(batchId == undefined)
                return;
            
            var filterstr = "BATCH_ID$=$" + batchId;
            Form$SetFilters(filterstr);
            Form$ReloadData();
        }
    </script>
    <script type="text/javascript" language="javascript">
        /* -----------新增，设置新增加数据的时候跳转页面到下一级页面，并且给出的数据位空。-------------*/
        var showFunctionAdd ='showHighShoolFunctionAdd()';
        var showHighShoolFunctionAdd = function() {
        var resourceId = document.getElementById("hidResourceId").value;
        var xmlTabInfo = "<root><tab id='orderTab32' name='普通高中详细信息' url='HighSchoolBaseInfo.aspx'></tab></root>";
            var BatchType = self.parent.selectedNodeId;
            self.parent.addTabs1(self.parent.tabSchoolInfoTabs, xmlTabInfo, '', "ResourceId=" + resourceId + "&HighSchoolId=0&BatchId=" + BatchType + "&controlType=1");
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:HiddenField ID="hidResourceId" runat="server" Value="158" />
    <div>
        <!--配置信息-->        
        <ext:ScriptManager ID="ScriptManager1" CleanResourceUrl="false" runat="server" Theme="Default" />
        <ext:ViewPort ID="viewport1" runat="server">
            <Body>
                <uc1:TabFormCommon ID="TabFormCommon1" PageSize="0"  SureExport="true" runat="server" MenuId="1129" />
            </Body>
        </ext:ViewPort>
    </div>
    </form>
</body>
</html>
